﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Practice.PH4_2104A.Shopping.SevenLayerFramework.Domin
{
    //主要保存订单对应的商品信息
    /// <summary>
    /// 订单明细表
    /// </summary>
    [Table("tb_order_detail")]
    public class OrderDetailModel
    {
        public Guid Id { get; set; }
        public string OrderNo { get; set; } //关联订单表
        public Guid SkuId { get; set; } //你购买的商品的Id 
        public string? Name { get; set; }
        public decimal Price { get; set; } //
        public int Number { get; set; } //购买数量
        public string? Image { get; set; }
        public string? State { get; set; }
    }
}
